package com._21cn.product.service;

import com._21cn.framework.base.db.BaseDao;
import com._21cn.framework.base.service.impl.BaseServiceImpl;

import com._21cn.framework.flip.PageList;
import com._21cn.product.dao.CarBusinessPledgeDao;
import com._21cn.product.entity.CarBusinessPledge;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;
import java.util.Map;


@Service("carBusinessPledgeService")
public class CarBusinessPledgeService extends BaseServiceImpl<CarBusinessPledge> {
	
    @Autowired
    private CarBusinessPledgeDao carBusinessPledgeDao;

    @Override
    protected BaseDao<CarBusinessPledge> getBaseDao() {
        return carBusinessPledgeDao;
    }

    public PageList<CarBusinessPledge> getCarPledgeList(Map<String,Object> params, int pageNo, int pageSize, boolean doCount){
        return carBusinessPledgeDao.getCarPledgeList(params, pageNo, pageSize, doCount);
    }
}